function checkParams() {
    if($.trim($("#activityName").val()).length === 0) {
        $("#errorMsg").html("请填写名称");
        return;
    }

    if($.trim($("#activityTitle").val()).length === 0) {
        $("#errorMsg").html("请填写标题");
        return;
    }
    if($.trim($("#activityIntroduce").val()).length === 0) {
        $("#errorMsg").html("请填写简介");
        return;
    }
    if($.trim($("#activityInstitution").val()).length === 0) {
        $("#errorMsg").html("请输入活动报名所需积分");
        return;
    }
    if($.trim($("#activityInstitution").val()).length === 0) {
        $("#errorMsg").html("请填写活动组织机构");
        return;
    }

    if ($.trim($("#activityImg").val()).length === 0) {
        $("#errorMsg").html("请上传图片");
        return;
    }

    let content = $.trim($("#content").val());

    if (content.length === 0) {
        $("#errorMsg").html("请填写活动内容");
        return;
    }


    loadEditCompleteDate();
}
